package day20180129.designMode.eight_AbstratFactory;

/**
 * Created by 14394 on 2018/1/29.
 */
public class ListLink extends Link {
    public ListLink(String caption, String url) {
        super(caption, url);
    }

    @Override
    public String makeHTML() {
        return "<li><a href = \""+url + "\">" +caption + "</a></li>\n";
    }
}
